package cn.bootx.paymentcenter.code.pay;

import java.util.Arrays;
import java.util.List;

/**
* 支付方式(通道/类型)
* @author xxm
* @date 2021/2/24
*/
public interface PayTypeCode {
    /**
     * 支付类型 1.支付宝 2.微信 3.现金 4.钱包 5.积分 6.代金券 7.兑换券 8.信用卡 9.ApplePay 10.渠道方支付
     */
    int ALI_PAY = 1;
    int WECHAT_PAY = 2;
    int CASH = 3;
    int WALLET = 4;
    int POINT = 5;
    int CREDIT = 6;
    int VOUCHER = 7;
    int CREDIT_CARD = 8;
    int APPLE_PAY = 9;
    int CHANNEL_PAY = 10;

    /** 支付扫码 UA */
    String UA_ALI_PAY = "Alipay";
    String UA_WECHAT_PAY = "MicroMessenger";

    /** 异步支付方式 */
    List<Integer> SYNC_TYPE = Arrays.asList(
            ALI_PAY,
            WECHAT_PAY,
            APPLE_PAY
    );
}
